package com.xlx.openLink.base;

/**
 * @author seven
 * @create 2018-11-06 14:26
 **/
public class Code {
    private int code;
    private String msg;
    private boolean flag;

    public Code() {
    }

    public Code(boolean flag) {
        this.flag = flag;
    }

    public Code(int code, String msg, boolean flag) {
        this.code = code;
        this.msg = msg;
        this.flag = flag;
    }

    public Code(String msg) {

        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
